ComponentOne Scheduler for WPF and Silverlight
NavigateToAppointment(BaseObject,Boolean,Nullable<DateTime>) Method

C1.WPF.Schedule Namespace > C1Scheduler Class > NavigateToAppointment Method : NavigateToAppointment(BaseObject,Boolean,Nullable<DateTime>) Method
An owner object determining the SchedulerGroupItem to search through.
If true, means the backward direction; forward direction otherwise.
The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.
Navigates the C1Scheduler control to the nearest C1.C1Schedule.Appointment in the GroupItems with the specified owner object.
Syntax
'Declaration
 
Public Overloads Function NavigateToAppointment( _
   ByVal owner As BaseObject, _
   ByVal previous As System.Boolean, _
   ByVal startTime As System.Nullable(Of Date) _
) As System.Boolean
public System.bool NavigateToAppointment( 
   BaseObject owner,
   System.bool previous,
   System.Nullable<DateTime> startTime
)

Parameters

owner
An owner object determining the SchedulerGroupItem to search through.
previous
If true, means the backward direction; forward direction otherwise.
startTime
The start System.DateTime point. If this parameter has no value, navigation will be performed starting from the SelectedDateTime property value.

Return Value

True if navigation has occurred; False if there are no appointments in the specified direction.
See Also

Reference

C1Scheduler Class
C1Scheduler Members
Overload List